<?php

require_once('../config.php');
require_once('../customer_id_decrypt.php'); //导入文件,获取customer_id_en[加密的customer_id]以及customer_id[已解密]
$link = mysql_connect(DB_HOST,DB_USER,DB_PWD);
mysql_select_db(DB_NAME) or die('order_Form Could not select database');
_mysql_query("SET NAMES UTF8");



$user_id = $_POST["user_id"];
$door_num = $_POST["door_num"];
$username = $_POST["username"];
//$cargo_time = $_POST["cargo_time"];

$query = "update weixin_users set door_num= "."'".$door_num."'"." ,zusername="."'".$username."'". " where id=".$user_id; 
_mysql_query($query) or die('Query failed: ' . mysql_error());


mysql_close($link);



?>